package k2_oop.p2_inheritAndPolymorphic.demo03;

public class Cat extends Animal{

    @Override
    public void speak() {
        System.out.println("喵喵喵");
    }

    public void catchMouse(){
        System.out.println("猫可以抓老鼠");
    }
}
